package com.muyu.danmo.service;


import com.muyu.common.core.domain.Result;
import com.muyu.danmo.domain.DanmoMountLikes;

import java.util.List;

/**
 * 装裱点赞Service接口
 *
 * @author yangle
 * @date 2024-10-14
 */
public interface IDanmoMountLikesService
{
    /**
     * 查询装裱点赞
     *
     * @param id 装裱点赞主键
     * @return 装裱点赞
     */
    public DanmoMountLikes selectDanmoMountLikesById(Long id);

    /**
     * 查询装裱点赞列表
     *
     * @param danmoMountLikes 装裱点赞
     * @return 装裱点赞集合
     */
    public List<DanmoMountLikes> selectDanmoMountLikesList(DanmoMountLikes danmoMountLikes);

    /**
     * 新增装裱点赞
     *
     * @param danmoMountLikes 装裱点赞
     * @return 结果
     */
    public int insertDanmoMountLikes(DanmoMountLikes danmoMountLikes);

    /**
     * 修改装裱点赞
     *
     * @param danmoMountLikes 装裱点赞
     * @return 结果
     */
    public int updateDanmoMountLikes(DanmoMountLikes danmoMountLikes);

    /**
     * 批量删除装裱点赞
     *
     * @param ids 需要删除的装裱点赞主键集合
     * @return 结果
     */
    public int deleteDanmoMountLikesByIds(Long[] ids);

    /**
     * 删除装裱点赞信息
     *
     * @param id 装裱点赞主键
     * @return 结果
     */
    public int deleteDanmoMountLikesById(Long id);

    Result likeMountLikes(Long userId, Long id);
}
